<!DOCTYPE html>
<html lang="en">
<head>
<title>Google Maps Library: GMLib.LatLngBounds: Class TGMLatLngBounds</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.15.0">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="tipuesearch/tipuesearch.css">

<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<div class="container"><div class="navigation">
<h2><a href="index.html">Google Maps Library</a></h2><ul><li><a href="AllUnits.html">Units</a></li><li><a href="ClassHierarchy.html">Class Hierarchy</a></li><li><a href="AllClasses.html">Classes, Interfaces, Objects and Records</a></li><li><a href="AllTypes.html">Types</a></li><li><a href="AllVariables.html">Variables</a></li><li><a href="AllConstants.html">Constants</a></li><li><a href="AllFunctions.html">Functions and Procedures</a></li><li><a href="AllIdentifiers.html">Identifiers</a></li><li><a href="GVUses.png">Unit dependency graph</a></li><li><a href="GVClasses.png">Classes hierarchy graph</a></li><li><form class="search-form" action="_tipue_results.html"><div class="search-input"><input type="text" name="q" id="tipue_search_input" pattern=".{3,}" title="At least 3 characters" required><div class="search-button"><input type="button" id="tipue_search_button" onclick="this.form.submit();"></div></div></form>
<div style="clear: both"></div>
</li></ul></div><div class="content">
<table class="container">
<tr>
<td><i><a href="http://www.cadetill.com" target="_blank">cadetill's blog</a></i></td>
<td align ="right"><i>Copyright &copy; Xavier Mart&iacute;nez (cadetill)</i></td>
</tr>
</table>
<hr noshade="" size="1">
<span id="TGMLatLngBounds"></span><h1 class="cio">Class TGMLatLngBounds</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section">Fields</div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section"><a class="section" href="#PasDoc-Properties">Properties</a></div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="GMLib.LatLngBounds.html">GMLib.LatLngBounds</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TGMLatLngBounds = class(<a class="normal" href="GMLib.Classes.TGMPersistentStr.html">TGMPersistentStr</a>, <a class="normal" href="GMLib.Classes.IGMControlChanges.html">IGMControlChanges</a>)</code></p>
<h2 class="description">Description</h2>
<p>
A TGMLatLngBounds instance represents a rectangle in geographical coordinates, including one that crosses the 180 degrees longitudinal meridian.</p>
<p>


<p>More information at <a href="https://developers.google.com/maps/documentation/javascript/reference/coordinates#LatLngBounds">google.maps.LatLngBounds class</a> </p>
<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="ancestor">TPersistent</li>
<li class="ancestor">TInterfacedPersistent</li>
<li class="ancestor"><a class="normal" href="GMLib.Classes.TGMInterfacedOwnedPersistent.html">TGMInterfacedOwnedPersistent</a></li>
<li class="ancestor"><a class="normal" href="GMLib.Classes.TGMPersistent.html">TGMPersistent</a></li>
<li class="ancestor"><a class="normal" href="GMLib.Classes.TGMPersistentStr.html">TGMPersistentStr</a></li>
<li class="thisitem">TGMLatLngBounds</li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#Create">Create</a></strong>(SW, NE: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>; Lang: <a href="GMLib.Sets.html#TGMLang">TGMLang</a> = <a href="GMLib.Sets.html#lnEnglish">lnEnglish</a>); reintroduce; overload; virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#Create">Create</a></strong>(AOwner: TPersistent; SWLat: Real = 0; SWLng: Real = 0; NELat: Real = 0; NELng: Real = 0); reintroduce; overload; virtual;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#Create">Create</a></strong>(AOwner: TPersistent; SW, NE: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>); reintroduce; overload; virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#Create">Create</a></strong>(SWLat: Real = 0; SWLng: Real = 0; NELat: Real = 0; NELng: Real = 0; Lang: <a href="GMLib.Sets.html#TGMLang">TGMLang</a> = <a href="GMLib.Sets.html#lnEnglish">lnEnglish</a>); reintroduce; overload; virtual;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#Destroy">Destroy</a></strong>; override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#Contains">Contains</a></strong>(LatLng: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>): Boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#GetCenter">GetCenter</a></strong>: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#Intersects">Intersects</a></strong>(Other: <a href="GMLib.LatLngBounds.TGMLatLngBounds.html">TGMLatLngBounds</a>): Boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#IsEmpty">IsEmpty</a></strong>: Boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#IsEqual">IsEqual</a></strong>(Other: <a href="GMLib.LatLngBounds.TGMLatLngBounds.html">TGMLatLngBounds</a>): Boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#PropToString">PropToString</a></strong>: string; override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#ToJson">ToJson</a></strong>(Precision: Integer = 6): string;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#ToSpan">ToSpan</a></strong>: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#ToStr">ToStr</a></strong>(Precision: Integer = 6): string;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#ToUrlValue">ToUrlValue</a></strong>(Precision: Integer = 6): string;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#GetOwnerLang">GetOwnerLang</a></strong>: <a href="GMLib.Sets.html#TGMLang">TGMLang</a>; override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#Assign">Assign</a></strong>(Source: TPersistent); override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#Extend">Extend</a></strong>(LatLng: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#Union">Union</a></strong>(Other: <a href="GMLib.LatLngBounds.TGMLatLngBounds.html">TGMLatLngBounds</a>);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#PropertyChanged">PropertyChanged</a></strong>(Prop: TPersistent; PropName: string);</code></td>
</tr>
</table>
<span id="PasDoc-Properties"></span><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#APIUrl">APIUrl</a></strong>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#NE">NE</a></strong>: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a> read FNE write FNE;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <strong><a href="GMLib.LatLngBounds.TGMLatLngBounds.html#SW">SW</a></strong>: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a> read FSW write FSW;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Create"></span><code>constructor <strong>Create</strong>(SW, NE: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>; Lang: <a href="GMLib.Sets.html#TGMLang">TGMLang</a> = <a href="GMLib.Sets.html#lnEnglish">lnEnglish</a>); reintroduce; overload; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Constructor class.

<p>   </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>SW</dt>
<dd>South-west corner.</dd>
<dt>NE</dt>
<dd>North-east corner.</dd>
<dt>Lang</dt>
<dd><a class="normal" href="GMLib.Sets.html#TGMLang">TGMLang</a> to use in exceptions.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Create"></span><code>constructor <strong>Create</strong>(AOwner: TPersistent; SWLat: Real = 0; SWLng: Real = 0; NELat: Real = 0; NELng: Real = 0); reintroduce; overload; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Constructor class.

<p>     </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>AOwner</dt>
<dd>Object owner.</dd>
<dt>SWLat</dt>
<dd>South-west latitude. Default 0.</dd>
<dt>SWLng</dt>
<dd>South-west longitude. Default 0.</dd>
<dt>NELat</dt>
<dd>North-east latitude. Default 0.</dd>
<dt>NELng</dt>
<dd>North-east longitude. Default 0.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Create"></span><code>constructor <strong>Create</strong>(AOwner: TPersistent; SW, NE: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>); reintroduce; overload; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Constructor class.

<p>   </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>AOwner</dt>
<dd>Object owner.</dd>
<dt>SW</dt>
<dd>South-west corner.</dd>
<dt>NE</dt>
<dd>North-east corner.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Create"></span><code>constructor <strong>Create</strong>(SWLat: Real = 0; SWLng: Real = 0; NELat: Real = 0; NELng: Real = 0; Lang: <a href="GMLib.Sets.html#TGMLang">TGMLang</a> = <a href="GMLib.Sets.html#lnEnglish">lnEnglish</a>); reintroduce; overload; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Constructor class.

<p>     </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>SWLat</dt>
<dd>South-west latitude. Default 0.</dd>
<dt>SWLng</dt>
<dd>South-west longitude. Default 0.</dd>
<dt>NELat</dt>
<dd>North-east latitude. Default 0.</dd>
<dt>NELng</dt>
<dd>North-east longitude. Default 0.</dd>
<dt>Lang</dt>
<dd><a class="normal" href="GMLib.Sets.html#TGMLang">TGMLang</a> to use in exceptions.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Destroy"></span><code>destructor <strong>Destroy</strong>; override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Destructor class. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Contains"></span><code>function <strong>Contains</strong>(LatLng: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>): Boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
Returns <code>True</code> if the given <a class="normal" href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a> is in the bounds.

<p>

<p>

<p>    </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>LatLng</dt>
<dd><a class="normal" href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a> to check.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return"><code>True</code> if the given <a class="normal" href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a> is in the bounds, otherwise <code>False</code>.</p><h6 class="description_section">Exceptions raised</h6>
<dl class="exceptions_raised">
<dt><a class="normal" href="GMLib.Exceptions.EGMWithoutOwner.html">EGMWithoutOwner</a></dt>
<dd>This exception is raised if the object don't have a owner.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMOwnerWithoutJS.html">EGMOwnerWithoutJS</a></dt>
<dd>This exception is raised if the owner can't execute JavaScript functions.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMUnassignedObject.html">EGMUnassignedObject</a></dt>
<dd>This exception is raised if LanLng param is unassigned.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMMapIsNull.html">EGMMapIsNull</a></dt>
<dd>This exception is raised if Map object in JavaScript is null.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="GetCenter"></span><code>function <strong>GetCenter</strong>: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Get the center of current bounds.

<p>

<p>   </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>LatLng</dt>
<dd>TGMLatLng representing the centre.</dd>
</dl>
<h6 class="description_section">Exceptions raised</h6>
<dl class="exceptions_raised">
<dt><a class="normal" href="GMLib.Exceptions.EGMWithoutOwner.html">EGMWithoutOwner</a></dt>
<dd>This exception is raised if the object don't have a owner.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMOwnerWithoutJS.html">EGMOwnerWithoutJS</a></dt>
<dd>This exception is raised if the owner can't execute JavaScript functions.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMJSError.html">EGMJSError</a></dt>
<dd>This exception is raised if an error occurred executing JavaScript function.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Intersects"></span><code>function <strong>Intersects</strong>(Other: <a href="GMLib.LatLngBounds.TGMLatLngBounds.html">TGMLatLngBounds</a>): Boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
Returns <code>True</code> if this bounds shares any points with this bounds.

<p>

<p>     </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Other</dt>
<dd>Bounds to compare.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return"><code>True</code> if shares, otherwise <code>False</code>.</p><h6 class="description_section">Exceptions raised</h6>
<dl class="exceptions_raised">
<dt><a class="normal" href="GMLib.Exceptions.EGMWithoutOwner.html">EGMWithoutOwner</a></dt>
<dd>This exception is raised if the object don't have a owner.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMOwnerWithoutJS.html">EGMOwnerWithoutJS</a></dt>
<dd>This exception is raised if the owner can't execute JavaScript functions.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMJSError.html">EGMJSError</a></dt>
<dd>This exception is raised if an error occurred executing JavaScript function.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMUnassignedObject.html">EGMUnassignedObject</a></dt>
<dd>This exception is raised if LanLng param is unassigned.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="IsEmpty"></span><code>function <strong>IsEmpty</strong>: Boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
Returns <code>True</code> if the bounds is empty.

<p> </p>
<h6 class="description_section">Returns</h6>
<p class="return"><code>True</code> if empty, otherwise <code>False</code>.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="IsEqual"></span><code>function <strong>IsEqual</strong>(Other: <a href="GMLib.LatLngBounds.TGMLatLngBounds.html">TGMLatLngBounds</a>): Boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
Returns <code>True</code> if this bounds is equals the given bounds.</p>
<p>


<p>Two bounds are equals if his coordinates NE and SW are equals.

<p>

<p> </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Other</dt>
<dd>Bounds to compare.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return"><code>True</code> if equals, otherwise <code>False</code>.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="PropToString"></span><code>function <strong>PropToString</strong>: string; override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Converts all class properties values to a string separated by comma used to send values to a JavaScript function.

<p></p>
<h6 class="description_section">Returns</h6>
<p class="return">string with all properties.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="ToJson"></span><code>function <strong>ToJson</strong>(Precision: Integer = 6): string;</code></td>
</tr>
<tr><td colspan="2">
<p>
Convert bounds to Json representation.

<p>

<p> </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Precision</dt>
<dd>Precision of values. Default 6.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">Json with the bounds.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="ToSpan"></span><code>function <strong>ToSpan</strong>: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Converts the given bounds to a lat/lng span.

<p>

<p>   </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>LatLng</dt>
<dd>TGMLatLng with the span.</dd>
</dl>
<h6 class="description_section">Exceptions raised</h6>
<dl class="exceptions_raised">
<dt><a class="normal" href="GMLib.Exceptions.EGMWithoutOwner.html">EGMWithoutOwner</a></dt>
<dd>This exception is raised if the object don't have a owner.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMOwnerWithoutJS.html">EGMOwnerWithoutJS</a></dt>
<dd>This exception is raised if the owner can't execute JavaScript functions.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMJSError.html">EGMJSError</a></dt>
<dd>This exception is raised if an error occurred executing JavaScript function.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="ToStr"></span><code>function <strong>ToStr</strong>(Precision: Integer = 6): string;</code></td>
</tr>
<tr><td colspan="2">
<p>
Convert bounds to string representation.

<p>

<p> </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Precision</dt>
<dd>Precision of values. Default 6.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">String with the bounds.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="ToUrlValue"></span><code>function <strong>ToUrlValue</strong>(Precision: Integer = 6): string;</code></td>
</tr>
<tr><td colspan="2">
<p>
Returns a string with format <code>&quot;lat_lo,lng_lo,lat_hi,lng_hi&quot;</code> for this bounds, where &quot;lo&quot; corresponds to the southwest corner of the bounding box and &quot;hi&quot; corresponds to the northeast corner of that box.

<p>

<p> </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Precision</dt>
<dd>Precision of values. Default 6.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">Formatted string.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetOwnerLang"></span><code>function <strong>GetOwnerLang</strong>: <a href="GMLib.Sets.html#TGMLang">TGMLang</a>; override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Returns the <a class="normal" href="GMLib.Sets.html#TGMLang">TGMLang</a> of the Owner.</p>
<p>


<p>If Owner is not assigned or not supports <a class="normal" href="GMLib.Classes.IGMOwnerLang.html">IGMOwnerLang</a> interface then should be returned <code>lnEnglish</code>.

<p> </p>
<h6 class="description_section">Returns</h6>
<p class="return"><a class="normal" href="GMLib.Sets.html#TGMLang">TGMLang</a> of the owner object.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Assign"></span><code>procedure <strong>Assign</strong>(Source: TPersistent); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Call <code>Assign</code> to copy the properties or other attributes form an object to another.</p>
<p>


<p>The standard form of a call to <code>Assign</code> method is <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>Destination.Assign(Source);</code> <br> which tells the <code>Destination</code> object to copy the contents of the <code>Source</code> object to itself.

<p> </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Source</dt>
<dd>Object to copy the content.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Extend"></span><code>procedure <strong>Extend</strong>(LatLng: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>);</code></td>
</tr>
<tr><td colspan="2">
<p>
Extends the bounds to contain the given point.

<p>

<p>    </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>LatLng</dt>
<dd>TGMLatLng to contain.</dd>
</dl>
<h6 class="description_section">Exceptions raised</h6>
<dl class="exceptions_raised">
<dt><a class="normal" href="GMLib.Exceptions.EGMWithoutOwner.html">EGMWithoutOwner</a></dt>
<dd>This exception is raised if the object don't have a owner.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMOwnerWithoutJS.html">EGMOwnerWithoutJS</a></dt>
<dd>This exception is raised if the owner can't execute JavaScript functions.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMJSError.html">EGMJSError</a></dt>
<dd>This exception is raised if an error occurred executing JavaScript function.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMUnassignedObject.html">EGMUnassignedObject</a></dt>
<dd>This exception is raised if LanLng param is unassigned.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Union"></span><code>procedure <strong>Union</strong>(Other: <a href="GMLib.LatLngBounds.TGMLatLngBounds.html">TGMLatLngBounds</a>);</code></td>
</tr>
<tr><td colspan="2">
<p>
Extends this bounds to contain the union of this and the given bounds.

<p>

<p>    </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Other</dt>
<dd>TGMLatLngBounds to union.</dd>
</dl>
<h6 class="description_section">Exceptions raised</h6>
<dl class="exceptions_raised">
<dt><a class="normal" href="GMLib.Exceptions.EGMWithoutOwner.html">EGMWithoutOwner</a></dt>
<dd>This exception is raised if the object don't have a owner.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMOwnerWithoutJS.html">EGMOwnerWithoutJS</a></dt>
<dd>This exception is raised if the owner can't execute JavaScript functions.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMJSError.html">EGMJSError</a></dt>
<dd>This exception is raised if an error occurred executing JavaScript function.</dd>
<dt><a class="normal" href="GMLib.Exceptions.EGMUnassignedObject.html">EGMUnassignedObject</a></dt>
<dd>This exception is raised if LanLng param is unassigned.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="PropertyChanged"></span><code>procedure <strong>PropertyChanged</strong>(Prop: TPersistent; PropName: string);</code></td>
</tr>
<tr><td colspan="2">
<p>
Method to call into the owner object when changes a property into the current object.

<p>  </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Prop</dt>
<dd>Object property that has changed.</dd>
<dt>PropName</dt>
<dd>Name of the property that has changed.</dd>
</dl>
</td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="APIUrl"></span><code>property <strong>APIUrl</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p>
URL to Google Maps API page. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><span id="NE"></span><code>property <strong>NE</strong>: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a> read FNE write FNE;</code></td>
</tr>
<tr><td colspan="2">
<p>
North-east coordinates. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><span id="SW"></span><code>property <strong>SW</strong>: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a> read FSW write FSW;</code></td>
</tr>
<tr><td colspan="2">
<p>
South-west coordinates. </p>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://github.com/pasdoc/pasdoc/wiki">PasDoc 0.15.0</a>. </em>
</span>
</div></div></body></html>
